<?php
/**
 * @Name: CaoBox v1.0
 * @author LinhNMT <w2ajax@gmail.com>
 * @link http://code.google.com/p/caobox/
 * @copyright Copyright &copy; 2009 phpbasic
 */
defined('_ROOT') or die(__FILE__);

class ConfigureDAO extends Model{
	var $configure_mod;
	function ConfigureDAO($configure_mod){
		parent::__construct();
		$this->configure_mod = $configure_mod;
	}
	
	function getMod($cond  = 1){
		return $this->db->query("SELECT * FROM ".$this->prefix."configure_mod WHERE $cond ORDER BY `module`,typeid");
	}	
	function view(){
		return $this->db->query("SELECT * FROM ".$this->prefix."configure");
	}
	
	function view_mod(){
		
	}

}

?>